package com.tinyseed.emcp.api.basicdata.transfer;

import com.tinyseed.emcp.api.basicdata.domain.Industry;
import com.tinyseed.emcp.api.basicdata.model.IndustryInputDTO;
import com.tinyseed.emcp.api.basicdata.model.IndustryOutputDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Created by Jarvis on 2019/11/18.
 */
@Mapper
public interface IndustryTransfer {

    IndustryTransfer INSTANCE = Mappers.getMapper(IndustryTransfer.class);

    Industry mapOut2Model(IndustryOutputDTO industryOutputDTO);

    Industry mapIn2Model(IndustryInputDTO inDustryInputDTO);

    IndustryOutputDTO mapModel2OutPut(Industry industry);
}
